#ifndef QCOLORGRADIENT_H
#define QCOLORGRADIENT_H

#include <QColor>
#include <QMap>

class QColorGradient {
public:
    QColorGradient();
    ~QColorGradient();

public:
    void setColorAt(double d, QColor c);
    QList<QColor> getColorList(int coloLen);
    void setColorMap(const QMap<double, QColor>& value);

private:
    QMap<double, QColor> colorMap;
};

#endif // QCOLORGRADIENT_H
